package com.csu.bailan.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("cart")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Cart {
    @TableId(value = "cart_id")
    private String cartId;
    @TableField("user_id")
    private String userId;
    @TableField("total_price")
    private Double totalPrice;
    @TableField("to_pay")
    private Double toPay;
    @TableField("cart_status")
    private Integer cartStatus;
}
